
SHAREDC = ../src/*.c ../festalon/*.c ../festalon/ext/*.c ../festalon/fir/*.c
LDFLAGS= -lmingw32 -mwindows -lSDLmain -lSDL
CFLAGS = -D_WINDOWS -I../include  -I../festalon -I../festalon/drivers -I../festalon/ext -I../festalon/fir
SOFLAGS = -shared -o librgs.dll -Wl,--out-implib,librgs.a

default:
	gcc $(SHAREDC) $(CFLAGS) $(LDFLAGS) $(SOFLAGS) 
